package com.wsy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
 @TableName
public class Orders {
  @TableId(type = IdType.AUTO)
  private Integer orderId;
  private Integer bookId;
  private String bookPrice;
  private Integer number;
  private String sumPrice;
  private String remark;
  private String createTime;
  private String orderState;
  private Integer userId;
  private Integer addressId;

  @TableField(exist = false)
  private String bookname;
  @TableField(exist = false)
  private String author;
}
